﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZLCMS.Web.Wap.Example
{
    public partial class InterfaceExampleCaller : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //注册接口信息
            //这段注册代码应该添加在Global Application_Start下
            DotNet.Common.Command.CommandFactory.Instance.RegisterBuilder("InterfaceExample", new DotNet.Common.Command.CommandInfo()
            {
                CommandType = typeof(InterfaceExampleCommand),
                ResultType = typeof(InterfaceExampleResult),
                ParameterType = typeof(InterfaceExampleParameter)
            });
        }
    }
}